/* 样式 */
/* 初始化 */
*{
  margin: 0;
  padding: 0;
}

/* header部分的样式 */
.header{
  background-color: black;
  height: 80px;
  color: white;
}
.content{
  width: 90%;
  margin: 0 auto;/*盒子的左右居中*/
  overflow: hidden;/*清除浮动*/
}
.header-left{
  float: left;
  width: 30%;
}
.header-left img{
  height: 50px;
  margin-top: 15px;/*(80-50)/2*/
  float: left;
}
.header-left span{
  line-height: 80px;/*文本内容的垂直居中*/
  display: inline-block;/*行内元素和块级元素之间的转换或者行内元素具备块级元素的特性*/
  color: #bcaa91;
  margin-left: 20px;
}
.header-mid{
  float: left;
  width: 40%;
}
.header-mid ul{
  list-style: none;
  overflow: hidden;/*清除浮动的最有效的方式*/
}
.header-mid li{
  float: left;
  width: 25%;
  text-align: center;
}
.header-mid li a{
  color: white;
  text-decoration: none;
  line-height: 80px;
}
/*class为active的li元素*/
.header-mid li.active a{
  color: #ff0000;
}
.header-right{
  float: left;
  width: 30%;
}
.header-right img{
  height: 40px;
  margin-top: 20px;
  float: right;
}
.header-right span{
  display: block;
  line-height: 80px;
  margin: 0 20px;
  float: right;
}
.header-right button{
  width: 100px;
  height: 40px;
  background-color: transparent;
  color: white;
  border:1px solid white;
  border-radius: 10px;/*边框的半径*/
  cursor: pointer;/*改变鼠标的形状为手的形状*/
  float: right;
  margin-top: 20px;
}
.header-right button:hover{
  background-color: #c85353;
  color: black;
}

/* banner部分的样式 */
.banner{
  background-color: #5f5f5f;
  color: white;
  position: relative;
}
.banner-left{
  float: left;
  width: 40%;
}
.banner-left h1{
  margin: 100px 0 30px;
  font-weight: 300;  
}
.banner-left p{
  color: #c3c0c0;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 30px;
}
.banner-left span{
  background-color: #f73f3f;
  width: 200px;
  height: 50px;
  display: block;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 25px;
}
.banner-left span:hover{
  background-color: transparent;
  border: 1px solid #f73f3f;
  color: #f73f3f;
}
.banner-right{
  float: right;
  width: 40%;
}
.banner-right img{
  width: 80%;
  max-width: 450px;
  float: right;
}

/* icon部分的样式 */
.icon{
  background-color: black;
  color: white;
  padding: 50px 0;
}
.icon ul{
  list-style: none;
  overflow: hidden;
}
.icon li{
  float: left;
  width: 25%;
}
.icon-box{
  text-align: center;
  /* border: 1px solid red;
  margin: 20px; */
}
.icon-box h3{
  color: #f73f3f;
  margin: 20px 0;
}
.icon-box p{
  font-size: 14px;
  color: #c3c0c0;
}

/* advantage部分的样式 */
.advantage{
  background-color: #e2e2e2;
  padding: 50px 0;
}
.adv-header{
  text-align: center;
  margin-bottom: 50px;
}
.adv-header h1{
  font-weight: 400;
}
.adv-header h1 span{
  color: #c01234;
}
.adv-header p{
  font-size: 14px;
  color: #4b4b4b;
}
.adv-body{
  display: flex;/*弹性盒子*/
  margin: 0 -30px;
}
.adv-box{
  border: 1px solid #c01234;
  margin: 0 30px;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
}
.adv-box img{
  min-height: 120px;
}
.adv-box h3{
  color: #c01234;
  margin: 20px 0;
}

/* feature部分的样式 */
.feature{
  padding: 50px 0;
}
.feature-header{
  text-align: center;
  padding-bottom: 30px;
}
.feature-header span{
  width: 100px;
  height: 40px;
  display: inline-block;
  background-color: #ef6565;
  border-radius: 20px;
  line-height: 40px;
  color: #e2e2e2;
  margin: 0 20px;
  font-size: 14px;
}
.feature-header span.active{
  background-color: #8f8f8f;
}
.feature-body{
  overflow: hidden;
}
.feature-left{
  float: left;
  width: 50%;
}
.feature-left h1{
  font-weight: 300;
  margin-bottom: 30px;
}
.feature-left h1 span{
  color: #c85353;
}
.feature-left p{
  font-size: 14px;
  color: #8f8c8c;
  margin-bottom: 30px;
}
.font-bolder{
  font-weight: 900;
}
/* 直接子元素选择器 */
.feature-left>span{
  background-color: #d16d6d;
  display: inline-block;
  width: 200px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 10px;
  color: white;
}
.feature-left>span:hover{
  background-color: transparent;
  color: #d16d6d;
  border: 1px solid #d16d6d;
}

.feature-right{
  float: right;
  width: 40%;
  text-align: right;
}

/* help部分的样式 */
.help{
  background-color: #dad6d6;
  padding: 50px 0;
}
.help-header{
  border-bottom: 1px solid #979797;
  padding-bottom: 40px;
  margin-bottom: 30px;
}
.help-header h3{
  text-align: center;
  font-weight: 100;
  color: #bf2f2f;
  font-size: 30px;
}
.help-body{
  overflow: hidden;
}
.help-left{
  width: 30%;
  float: left;
}
.help-left img{
  border-radius: 100px;
}
.help-right{
  width: 70%;
  float: right;
}
.help-right p{
  font-size: 14px;
  color: #736e6e;
  text-indent: 2em;
}
.help-right-bottom{
  overflow: hidden;
  margin-top: 30px;
}
.help-right-bottom>div{
  float: left;
  width: 50%;
}
.help-right-bottom>div h3{
  color:#d65e5e;
}
.help-right-bottom>div span{
  font-size: 14px;
  color:#d65e5e;
}
.help-right-bottom>p{
  float: right;
  width: 30%;
  text-align: right;
  padding-right: 40px;
  font-size: 40px;
  font-style: italic;
  text-transform: uppercase;
}

/* contact部分的样式 */
.contact{
  padding: 50px 0;
}
.contact-left{
  float: left;
  width: 50%;
}
.contact-left input{
  width: 220px;
  height: 30px;
}
/* 属性选择器 */
.contact-left input[type=email]{
  width: 450px;
  margin: 20px 0;
}
/* 属性选择器 */
.contact-left input[type=submit]{
  background-color: #bf2f2f;
}
/* .contact-left input[type=submit]:hover{

} */
.contact-left textarea{
  width: 450px;
}
.contact-right{
  float: right;
  width: 50%;
  text-align: right;
}

/* footer部分的样式 */
.footer{
  background-color: #4b4b4b;
  color: white;
  padding: 30px 0;
}
.footer .content>div{
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.footer-box{
  padding-right: 20px;
}
.footer-box>h1{
  color: #c3c3c3;
  font-weight: 100;
  margin-bottom: 20px;
}
.footer-box>p{
  columns: #c3c3c3;
  font-size: 14px;
  line-height: 26px;
}
/* css3下的新的选择器，第2个foot-box下面的第1个p标记 */
.footer-box:nth-of-type(2)>p:nth-of-type(1){
  color: green;
  margin-bottom: 10px;
}
/* .footer-box:nth-of-type(2)>p:nth-last-of-type(2){
  color: green;
  margin-bottom: 10px;
} */

/* .footer-box:nth-of-type(1)>p:nth-child(2){
  color: green;
  margin-bottom: 10px;
} */
.footer-box:nth-of-type(1)>p:nth-last-child(1){
  color: green;
  margin-bottom: 10px;
}

.footer-box ul{
  list-style: none;
}
.footer-box li>img{
  height: 25px;
  float: left;
}
.footer-box li>span{
  height: 25px;
  display: inline-block;
  margin-left: 20px;
  font-size: 14px;
  color: #c3c0c0;
}

#canvas{
  position: absolute;
  top: 0;
  left: 50%;
}